package com.sumainfor.wx.system.fallback;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.wx.system.feign.BaseFeignMarket;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 功能描述:
 *
 * @Auther: zhlu
 * @Date: 2019/1/18 16:03
 * @Description:
 */
@Component
public class FeignMarketFallback implements BaseFeignMarket {

    @Override
    public JsonResult getAllHousingConLists() {
        return JsonResult.error("市场部服务器繁忙，请稍后重试！");
    }

    @Override
    public JsonResult getHouConPactList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙");
    }

    @Override
    public JsonResult getProvinceList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙");
    }

    @Override
    public JsonResult getCityList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getDistrictList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getWgMeter(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getOptimalActivity(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getStreetList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult SelectCommunityList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getHousingProBuilDingList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getHousingProRoomList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getHousingConList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }
    @Override
    public JsonResult getHousingPatrolList(Map<String, Object> params, Pager pager) {
        return JsonResult.error("市场部服务器繁忙...");
    }
    @Override
    public JsonResult getViolationList() {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getViolationInfoList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getPatrolHousginMap(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getPatrolHousingViolationList(Map<String, Object> params, Pager pager) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getPatrolHousingCleaningList(Map<String, Object> params, Pager pager) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult AddPatrol(Map<String, Object> params){
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getPatrol(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getHouPactByHouInfoId(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getRdPactTenList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult updateWorderInfoIfArrive(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getHousingInfoByHouInfoId(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult saveOrUpdateTenant(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getInteDeviceBeeList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getRdHouSmartDelIdList(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult addWorder(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult addPact(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult addWorderOrWorderInfo(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult UpdatePatrol(Map<String, Object> params) {
        return JsonResult.error("市场部服务器繁忙...");
    }



}
